namespace ModelC
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("rms.goods")]
    public partial class goods
    {
        public int id { get; set; }

        public int? categoryid { get; set; }

        [StringLength(50)]
        public string goodsn { get; set; }

        [StringLength(255)]
        public string name { get; set; }

        [Column(TypeName = "bit")]
        public bool? status { get; set; }

        public int? goodsellnumber { get; set; }

        public int? goodnumber { get; set; }

        [StringLength(255)]
        public string masterpicurl { get; set; }

        [StringLength(255)]
        public string listpicurl { get; set; }

        public decimal? price { get; set; }

        public DateTime? createtime { get; set; }

        public DateTime? updatetime { get; set; }

        public int? createuserid { get; set; }

        public int? updateuserid { get; set; }
    }
}
